package csl.mq.rabbitmq.entity.producer;

import csl.mq.rabbitmq.old.agent.MessageSender;
import csl.mq.rabbitmq.entity.MsgEvent;

/**
 * @Description: TODO
 * @author: 隔山海
 * @date: 2021年08月29日 19:42
 */
//@Component
public class EventProducer {

//    @Autowired
    private MessageSender<MsgEvent> eventSender;

    public void send(MsgEvent demoEvent) {
        eventSender.send(demoEvent);
    }
}
